package com.devilvan.betrice.recruitment.repository;

import com.devilvan.betrice.recruitment.po.BossJobPo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description Boss直聘 招聘信息持久层
 * @author Evad.Wu
 * @date 2022-08-06
 */
@Repository
public interface BossJobRepository extends JpaRepository<BossJobPo,Long> {
    /**
     * 根据jobId批量查询
     * @param jobIdList jobId集合
     * @return 结果集的jobId
     */
    List<BossJobPo> findByJobIdIn(@Param("jobIdList") List<String> jobIdList);
}
